@echo off

call mvn clean install -Dmaven.test.skip=true
call mvn package -Dmaven.test.skip=true

del .\deploy\*.* /q /a /f

copy service-api\target\service-api.jar .\deploy\service-api.jar /y
copy service-common\target\service-common.jar .\deploy\service-common.jar /y
copy service-community\target\service-community.jar .\deploy\service-community.jar /y
copy service-eureka\target\service-eureka.jar .\deploy\service-eureka.jar /y
copy service-fee\target\service-fee.jar .\deploy\service-fee.jar /y
copy service-front\target\service-front.jar .\deploy\service-front.jar /y
copy service-goods\target\service-goods.jar .\deploy\service-goods.jar /y
copy service-job\target\service-job.jar .\deploy\service-job.jar /y
copy service-order\target\service-order.jar .\deploy\service-order.jar /y
copy service-report\target\service-report.jar .\deploy\service-report.jar /y
copy service-store\target\service-store.jar .\deploy\service-store.jar /y
copy service-user\target\service-user.jar .\deploy\service-user.jar /y